package com.guoxue.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.guoxue.dao.IUserDistrictDao;
import com.guoxue.domain.UserDistrictVo;
import com.guoxue.service.IUserDistrictService;
@Service("userDistrictService")
public class UserDistrictServiceImpl implements IUserDistrictService{
	@Resource
	private IUserDistrictDao dao;

	@Override
	public void saveUserDistrict(UserDistrictVo ud) {
		dao.saveUserDistrict(ud);
	}

	@Override
	public UserDistrictVo getUserDistrict(int uid) {
		return dao.getUserDistrict(uid);
	}

}
